<!DOCTYPE HTML>
<html xmlns:th="http://www.thymeleaf.org">
	<head>
	    <meta charset="utf-8">
	    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0">
	    <title>鲁班 - 登录</title>
	    <link th:href="@{/components/bootstrap/3.3.7/css/bootstrap.min.css}" rel="stylesheet">
		<link th:href="@{/components/font-awesome/4.6.3/css/font-awesome.min.css}" rel="stylesheet">
	    <link th:href="@{/css/animate.min.css}" rel="stylesheet">
	    <link th:href="@{/css/style.css}" rel="stylesheet">
	    <link th:href="@{/css/login.css}" rel="stylesheet">
	    <!--[if lt IE 9]>
	    	<meta http-equiv="refresh" content="/ie" />
	    <![endif]-->
	    <script>
	        if(window.top!==window.self){window.top.location=window.location};
	    </script>
	</head>
	<body class="signin">
	    <div class="signinpanel">
	        <div class="row">
	            <div class="col-sm-7">
	                <div class="signin-info">
	                    <div class="logopanel m-b">
	                        <h1>鲁班</h1>
	                    </div>
	                    <div class="m-b"></div>
	                    <h4>欢迎使用 <strong>鲁班</strong></h4>
	                    <ul class="m-b">
	                        <li><i class="fa fa-arrow-circle-o-right m-r-xs"></i> 优势一</li>
	                        <li><i class="fa fa-arrow-circle-o-right m-r-xs"></i> 优势二</li>
	                        <li><i class="fa fa-arrow-circle-o-right m-r-xs"></i> 优势三</li>
	                        <li><i class="fa fa-arrow-circle-o-right m-r-xs"></i> 优势四</li>
	                        <li><i class="fa fa-arrow-circle-o-right m-r-xs"></i> 优势五</li>
	                    </ul>
	                    <strong>还没有账号？ <a href="#">立即注册&raquo;</a></strong>
	                </div>
	            </div>
	            <div class="col-sm-5">
	                <div th:if="${param.logout}" class="alert alert-info" role="alert" ><strong>退出登录成功</strong></div>
	                <div th:if="${session.authException ne null}" class="alert alert-danger" role="alert" ><strong>登陆失败：</strong><span th:text="${session.authException.message}"></span></div>
	                <form name="form" th:action="@{/login}" method="post">
	                    <h4 class="no-margins">登录：</h4>
	                    <p class="m-t-md">登录到鲁班</p>
	                    <input id="username" name="username" type="text" class="form-control uname" required="" placeholder="账户" />
	                    <input id="password" name="password" type="password" class="form-control pword m-b" required="" placeholder="密码" />
	                    <a href="#">忘记密码了？</a>
	                    <button type="submit" class="btn btn-success btn-block">登录</button>
	                </form>
	            </div>
	        </div>
	        <div class="signup-footer">
	            <div class="pull-left">
	                &copy; 2018 All Rights Reserved. 鲁班
	            </div>
	        </div>
	    </div>
	</body>
</html>